package com.yxhl.zoume.core.func.push.model;

import com.yxhl.zoume.core.func.push.info.PushActionType;

import java.io.Serializable;

/**
 * Created by vhawk on 16/3/14.
 */
public class PushMessage implements Serializable {

    /**
     * 收到推送后的响应动作
     */
    private String action = PushActionType.OPEN_APP;

    /**
     * 订单id
     */
    private String id;

    /**
     * 订单类型
     */
    private int bizType;

    public int getBizType() {
        return bizType;
    }

    public PushMessage setBizType(int bizType) {
        this.bizType = bizType;
        return this;
    }

    public String getId() {
        return id;
    }

    public PushMessage setId(String id) {
        this.id = id;
        return this;
    }

    public String getAction() {
        return action;
    }

    public PushMessage setAction(String action) {
        this.action = action;
        return this;
    }

    @Override
    public String toString() {
        return "PushMessage{" +
                "action='" + action + '\'' +
                ", id='" + id + '\'' +
                ", bizType=" + bizType +
                '}';
    }
}
